<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
	<title>springmvc</title>
</head>
<body>
	<form action="${pageContext.request.contextPath }/springmvc/login.do" method="post">
		username:<input type="text" name="username"/><br>
		password:<input type="password" name="password"/><br>
		<input type="submit" value="登陆">${error}
	</form>
</body>
</html>
